/////////////////////////////////////////////////////////////////////////////
// Name:        SourceCatListBox.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     26/12/2008 14:23:16
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _SOURCECATLISTBOX_H_
#define _SOURCECATLISTBOX_H_


/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class SourceCatListBox;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_SOURCECAT_LISTBOX 10016
#define SYMBOL_SOURCECATLISTBOX_STYLE wxLB_SINGLE
#define SYMBOL_SOURCECATLISTBOX_IDNAME ID_SOURCECAT_LISTBOX
#define SYMBOL_SOURCECATLISTBOX_SIZE wxDefaultSize
#define SYMBOL_SOURCECATLISTBOX_POSITION wxDefaultPosition
////@end control identifiers

#include "CategoryListBox.h"

/*!
 * SourceCatListBox class declaration
 */

class SourceCatListBox: public CategoryListBox
{    
    DECLARE_DYNAMIC_CLASS( SourceCatListBox )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    SourceCatListBox();
    SourceCatListBox(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxArrayString& choices = wxArrayString(), long style = 0, const wxValidator& validator = wxDefaultValidator);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxArrayString& choices = wxArrayString(), long style = 0, const wxValidator& validator = wxDefaultValidator);

    /// Destructor
    ~SourceCatListBox();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin SourceCatListBox event handler declarations

    /// wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_SOURCECAT_LISTBOX
    void OnSelected( wxCommandEvent& event );

////@end SourceCatListBox event handler declarations

////@begin SourceCatListBox member function declarations

////@end SourceCatListBox member function declarations

////@begin SourceCatListBox member variables
////@end SourceCatListBox member variables
public:
	virtual void ShowCategories();
};

#endif
    // _SOURCECATLISTBOX_H_
